s = input().split(" ")
a = float(s[0])
b = float(s[1])
c = float(s[2])
delt = b ** 2 - 4 * a * c
if delt > 0:
    x1 = (-b + delt ** 0.5) / (2 * a)
    print("%.2f" % x1)
    x2 = (-b - delt ** 0.5) / (2 * a)
    print("%.2f" % x2)
elif delt == 0:
    x = -b  / (2 * a)
    print("%.2f" % x)
else:
    print("无实数解")